package com.sunpy.commonlock.pub;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@ConfigurationProperties(prefix = "zookeeper-lock")
@Component
public class ZookeeperLockConfig {

    private String zkIp;
    private Integer zkPort;
    private Integer sessionTimeout;
    private String rootPath;
    private String nodePathPrefix;
    private Integer timeout;
    private Boolean reentry;
    private Integer retime;

}
